<!DOCTYPE html>
<html>
<head>
<title>Service worker</title>
<script>
function installSW() {
  navigator.serviceWorker.register('service-worker.js');
}
</script>
</head>
<body onload="installSW()">
<body>
Page with a service worker
</body>
</html>
